using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;

using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.CLR.Utils;
using System.Linq;

namespace ILRuntime.Runtime.Generated
{
    unsafe class huqiang_Core_HGUI_UIElement_Binding
    {
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase method;
            FieldInfo field;
            Type[] args;
            Type type = typeof(huqiang.Core.HGUI.UIElement);
            args = new Type[]{};
            method = type.GetMethod("get_expand", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_expand_0);
            args = new Type[]{typeof(System.Boolean)};
            method = type.GetMethod("set_expand", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_expand_1);
            args = new Type[]{};
            method = type.GetMethod("InitialData", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, InitialData_2);
            args = new Type[]{};
            method = type.GetMethod("SaveData", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SaveData_3);
            args = new Type[]{};
            method = type.GetMethod("DisposeAll", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, DisposeAll_4);
            args = new Type[]{typeof(System.Int32)};
            method = type.GetMethod("FindInstance", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, FindInstance_5);
            args = new Type[]{};
            method = type.GetMethod("get_TypeName", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_TypeName_6);
            args = new Type[]{};
            method = type.GetMethod("GetInstanceID", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetInstanceID_7);
            args = new Type[]{};
            method = type.GetMethod("Dispose", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Dispose_8);
            args = new Type[]{};
            method = type.GetMethod("Clear", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Clear_9);
            args = new Type[]{};
            method = type.GetMethod("get_Position", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_Position_10);
            args = new Type[]{typeof(UnityEngine.Vector3)};
            method = type.GetMethod("set_Position", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_Position_11);
            args = new Type[]{};
            method = type.GetMethod("get_Scale", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_Scale_12);
            args = new Type[]{typeof(UnityEngine.Vector3)};
            method = type.GetMethod("set_Scale", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_Scale_13);
            args = new Type[]{};
            method = type.GetMethod("get_Rotation", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_Rotation_14);
            args = new Type[]{typeof(UnityEngine.Quaternion)};
            method = type.GetMethod("set_Rotation", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_Rotation_15);
            args = new Type[]{};
            method = type.GetMethod("get_coordinate", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_coordinate_16);
            args = new Type[]{typeof(huqiang.Coordinates)};
            method = type.GetMethod("set_coordinate", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_coordinate_17);
            args = new Type[]{};
            method = type.GetMethod("get_childCount", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_childCount_18);
            args = new Type[]{typeof(System.Int32)};
            method = type.GetMethod("GetChild", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetChild_19);
            args = new Type[]{};
            method = type.GetMethod("get_parent", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_parent_20);
            args = new Type[]{typeof(huqiang.Core.HGUI.UIElement)};
            method = type.GetMethod("set_parent", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_parent_21);
            args = new Type[]{};
            method = type.GetMethod("get_root", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_root_22);
            args = new Type[]{typeof(huqiang.Core.HGUI.UIElement)};
            method = type.GetMethod("SetParent", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SetParent_23);
            args = new Type[]{};
            method = type.GetMethod("SetAsFirstSibling", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SetAsFirstSibling_24);
            args = new Type[]{};
            method = type.GetMethod("SetAsLastSibling", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SetAsLastSibling_25);
            args = new Type[]{};
            method = type.GetMethod("GetSiblingIndex", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetSiblingIndex_26);
            args = new Type[]{typeof(System.Int32)};
            method = type.GetMethod("SetSiblingIndex", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SetSiblingIndex_27);
            args = new Type[]{typeof(System.String)};
            method = type.GetMethod("Find", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Find_28);
            args = new Type[]{};
            method = type.GetMethod("get_SizeDelta", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_SizeDelta_29);
            args = new Type[]{typeof(UnityEngine.Vector2)};
            method = type.GetMethod("set_SizeDelta", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_SizeDelta_30);
            args = new Type[]{};
            method = type.GetMethod("MainUpdate", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, MainUpdate_31);
            args = new Type[]{};
            method = type.GetMethod("SubUpdate", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, SubUpdate_32);
            args = new Type[]{};
            method = type.GetMethod("ReSized", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ReSized_33);
            args = new Type[]{};
            method = type.GetMethod("get_MainColor", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_MainColor_34);
            args = new Type[]{typeof(UnityEngine.Color32)};
            method = type.GetMethod("set_MainColor", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_MainColor_35);
            args = new Type[]{typeof(huqiang.Data.FakeStruct), typeof(huqiang.Core.HGUI.UIInitializer)};
            method = type.GetMethod("Initial", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Initial_36);
            args = new Type[]{typeof(huqiang.Core.HGUI.UIElement), typeof(huqiang.Data.FakeStruct), typeof(huqiang.Core.HGUI.UIInitializer)};
            method = type.GetMethod("CreateUIComposite", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, CreateUIComposite_37);

            field = type.GetField("Context", flag);
            app.RegisterCLRFieldGetter(field, get_Context_0);
            app.RegisterCLRFieldSetter(field, set_Context_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_Context_0, AssignFromStack_Context_0);
            field = type.GetField("activeSelf", flag);
            app.RegisterCLRFieldGetter(field, get_activeSelf_1);
            app.RegisterCLRFieldSetter(field, set_activeSelf_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_activeSelf_1, AssignFromStack_activeSelf_1);
            field = type.GetField("name", flag);
            app.RegisterCLRFieldGetter(field, get_name_2);
            app.RegisterCLRFieldSetter(field, set_name_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_name_2, AssignFromStack_name_2);
            field = type.GetField("localPosition", flag);
            app.RegisterCLRFieldGetter(field, get_localPosition_3);
            app.RegisterCLRFieldSetter(field, set_localPosition_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_localPosition_3, AssignFromStack_localPosition_3);
            field = type.GetField("localScale", flag);
            app.RegisterCLRFieldGetter(field, get_localScale_4);
            app.RegisterCLRFieldSetter(field, set_localScale_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_localScale_4, AssignFromStack_localScale_4);
            field = type.GetField("localRotation", flag);
            app.RegisterCLRFieldGetter(field, get_localRotation_5);
            app.RegisterCLRFieldSetter(field, set_localRotation_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_localRotation_5, AssignFromStack_localRotation_5);
            field = type.GetField("child", flag);
            app.RegisterCLRFieldGetter(field, get_child_6);
            app.RegisterCLRFieldSetter(field, set_child_6);
            app.RegisterCLRFieldBinding(field, CopyToStack_child_6, AssignFromStack_child_6);
            field = type.GetField("Pivot", flag);
            app.RegisterCLRFieldGetter(field, get_Pivot_7);
            app.RegisterCLRFieldSetter(field, set_Pivot_7);
            app.RegisterCLRFieldBinding(field, CopyToStack_Pivot_7, AssignFromStack_Pivot_7);
            field = type.GetField("scaleType", flag);
            app.RegisterCLRFieldGetter(field, get_scaleType_8);
            app.RegisterCLRFieldSetter(field, set_scaleType_8);
            app.RegisterCLRFieldBinding(field, CopyToStack_scaleType_8, AssignFromStack_scaleType_8);
            field = type.GetField("anchorType", flag);
            app.RegisterCLRFieldGetter(field, get_anchorType_9);
            app.RegisterCLRFieldSetter(field, set_anchorType_9);
            app.RegisterCLRFieldBinding(field, CopyToStack_anchorType_9, AssignFromStack_anchorType_9);
            field = type.GetField("anchorPointType", flag);
            app.RegisterCLRFieldGetter(field, get_anchorPointType_10);
            app.RegisterCLRFieldSetter(field, set_anchorPointType_10);
            app.RegisterCLRFieldBinding(field, CopyToStack_anchorPointType_10, AssignFromStack_anchorPointType_10);
            field = type.GetField("anchorOffset", flag);
            app.RegisterCLRFieldGetter(field, get_anchorOffset_11);
            app.RegisterCLRFieldSetter(field, set_anchorOffset_11);
            app.RegisterCLRFieldBinding(field, CopyToStack_anchorOffset_11, AssignFromStack_anchorOffset_11);
            field = type.GetField("marginType", flag);
            app.RegisterCLRFieldGetter(field, get_marginType_12);
            app.RegisterCLRFieldSetter(field, set_marginType_12);
            app.RegisterCLRFieldBinding(field, CopyToStack_marginType_12, AssignFromStack_marginType_12);
            field = type.GetField("parentType", flag);
            app.RegisterCLRFieldGetter(field, get_parentType_13);
            app.RegisterCLRFieldSetter(field, set_parentType_13);
            app.RegisterCLRFieldBinding(field, CopyToStack_parentType_13, AssignFromStack_parentType_13);
            field = type.GetField("margin", flag);
            app.RegisterCLRFieldGetter(field, get_margin_14);
            app.RegisterCLRFieldSetter(field, set_margin_14);
            app.RegisterCLRFieldBinding(field, CopyToStack_margin_14, AssignFromStack_margin_14);
            field = type.GetField("eventType", flag);
            app.RegisterCLRFieldGetter(field, get_eventType_15);
            app.RegisterCLRFieldSetter(field, set_eventType_15);
            app.RegisterCLRFieldBinding(field, CopyToStack_eventType_15, AssignFromStack_eventType_15);
            field = type.GetField("compositeType", flag);
            app.RegisterCLRFieldGetter(field, get_compositeType_16);
            app.RegisterCLRFieldSetter(field, set_compositeType_16);
            app.RegisterCLRFieldBinding(field, CopyToStack_compositeType_16, AssignFromStack_compositeType_16);
            field = type.GetField("Mask", flag);
            app.RegisterCLRFieldGetter(field, get_Mask_17);
            app.RegisterCLRFieldSetter(field, set_Mask_17);
            app.RegisterCLRFieldBinding(field, CopyToStack_Mask_17, AssignFromStack_Mask_17);
            field = type.GetField("userEvent", flag);
            app.RegisterCLRFieldGetter(field, get_userEvent_18);
            app.RegisterCLRFieldSetter(field, set_userEvent_18);
            app.RegisterCLRFieldBinding(field, CopyToStack_userEvent_18, AssignFromStack_userEvent_18);
            field = type.GetField("composite", flag);
            app.RegisterCLRFieldGetter(field, get_composite_19);
            app.RegisterCLRFieldSetter(field, set_composite_19);
            app.RegisterCLRFieldBinding(field, CopyToStack_composite_19, AssignFromStack_composite_19);
            field = type.GetField("mod", flag);
            app.RegisterCLRFieldGetter(field, get_mod_20);
            app.RegisterCLRFieldSetter(field, set_mod_20);
            app.RegisterCLRFieldBinding(field, CopyToStack_mod_20, AssignFromStack_mod_20);
            field = type.GetField("DataContext", flag);
            app.RegisterCLRFieldGetter(field, get_DataContext_21);
            app.RegisterCLRFieldSetter(field, set_DataContext_21);
            app.RegisterCLRFieldBinding(field, CopyToStack_DataContext_21, AssignFromStack_DataContext_21);
            field = type.GetField("SizeChanged", flag);
            app.RegisterCLRFieldGetter(field, get_SizeChanged_22);
            app.RegisterCLRFieldSetter(field, set_SizeChanged_22);
            app.RegisterCLRFieldBinding(field, CopyToStack_SizeChanged_22, AssignFromStack_SizeChanged_22);


            app.RegisterCLRCreateDefaultInstance(type, () => new huqiang.Core.HGUI.UIElement());
            app.RegisterCLRCreateArrayInstance(type, s => new huqiang.Core.HGUI.UIElement[s]);

            args = new Type[]{};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);

        }


        static StackObject* get_expand_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.expand;

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static StackObject* set_expand_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Boolean @value = ptr_of_this_method->Value == 1;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.expand = value;

            return __ret;
        }

        static StackObject* InitialData_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.InitialData();

            return __ret;
        }

        static StackObject* SaveData_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SaveData();

            return __ret;
        }

        static StackObject* DisposeAll_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);


            huqiang.Core.HGUI.UIElement.DisposeAll();

            return __ret;
        }

        static StackObject* FindInstance_5(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @insID = ptr_of_this_method->Value;


            var result_of_this_method = huqiang.Core.HGUI.UIElement.FindInstance(@insID);

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* get_TypeName_6(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.TypeName;

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* GetInstanceID_7(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.GetInstanceID();

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static StackObject* Dispose_8(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Dispose();

            return __ret;
        }

        static StackObject* Clear_9(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Clear();

            return __ret;
        }

        static StackObject* get_Position_10(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.Position;

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* set_Position_11(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.Vector3 @value = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Position = value;

            return __ret;
        }

        static StackObject* get_Scale_12(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.Scale;

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* set_Scale_13(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.Vector3 @value = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Scale = value;

            return __ret;
        }

        static StackObject* get_Rotation_14(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.Rotation;

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* set_Rotation_15(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.Quaternion @value = (UnityEngine.Quaternion)typeof(UnityEngine.Quaternion).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Rotation = value;

            return __ret;
        }

        static StackObject* get_coordinate_16(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.coordinate;

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* set_coordinate_17(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Coordinates @value = (huqiang.Coordinates)typeof(huqiang.Coordinates).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.coordinate = value;

            return __ret;
        }

        static StackObject* get_childCount_18(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.childCount;

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static StackObject* GetChild_19(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @index = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.GetChild(@index);

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* get_parent_20(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.parent;

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* set_parent_21(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement @value = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.parent = value;

            return __ret;
        }

        static StackObject* get_root_22(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.root;

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* SetParent_23(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement @ele = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetParent(@ele);

            return __ret;
        }

        static StackObject* SetAsFirstSibling_24(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetAsFirstSibling();

            return __ret;
        }

        static StackObject* SetAsLastSibling_25(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetAsLastSibling();

            return __ret;
        }

        static StackObject* GetSiblingIndex_26(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.GetSiblingIndex();

            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static StackObject* SetSiblingIndex_27(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @index = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SetSiblingIndex(@index);

            return __ret;
        }

        static StackObject* Find_28(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.String @name = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.Find(@name);

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* get_SizeDelta_29(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.SizeDelta;

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* set_SizeDelta_30(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.Vector2 @value = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SizeDelta = value;

            return __ret;
        }

        static StackObject* MainUpdate_31(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.MainUpdate();

            return __ret;
        }

        static StackObject* SubUpdate_32(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.SubUpdate();

            return __ret;
        }

        static StackObject* ReSized_33(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.ReSized();

            return __ret;
        }

        static StackObject* get_MainColor_34(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.MainColor;

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* set_MainColor_35(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.Color32 @value = (UnityEngine.Color32)typeof(UnityEngine.Color32).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.MainColor = value;

            return __ret;
        }

        static StackObject* Initial_36(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIInitializer @initializer = (huqiang.Core.HGUI.UIInitializer)typeof(huqiang.Core.HGUI.UIInitializer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Data.FakeStruct @ex = (huqiang.Data.FakeStruct)typeof(huqiang.Data.FakeStruct).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.Core.HGUI.UIElement instance_of_this_method = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Initial(@ex, @initializer);

            return __ret;
        }

        static StackObject* CreateUIComposite_37(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIInitializer @initializer = (huqiang.Core.HGUI.UIInitializer)typeof(huqiang.Core.HGUI.UIInitializer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Data.FakeStruct @ex = (huqiang.Data.FakeStruct)typeof(huqiang.Data.FakeStruct).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.Core.HGUI.UIElement @script = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);


            huqiang.Core.HGUI.UIElement.CreateUIComposite(@script, @ex, @initializer);

            return __ret;
        }


        static object get_Context_0(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).Context;
        }

        static StackObject* CopyToStack_Context_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).Context;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Context_0(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).Context = (UnityEngine.Transform)v;
        }

        static StackObject* AssignFromStack_Context_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.Transform @Context = (UnityEngine.Transform)typeof(UnityEngine.Transform).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.Core.HGUI.UIElement)o).Context = @Context;
            return ptr_of_this_method;
        }

        static object get_activeSelf_1(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).activeSelf;
        }

        static StackObject* CopyToStack_activeSelf_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).activeSelf;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_activeSelf_1(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).activeSelf = (System.Boolean)v;
        }

        static StackObject* AssignFromStack_activeSelf_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @activeSelf = ptr_of_this_method->Value == 1;
            ((huqiang.Core.HGUI.UIElement)o).activeSelf = @activeSelf;
            return ptr_of_this_method;
        }

        static object get_name_2(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).name;
        }

        static StackObject* CopyToStack_name_2(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).name;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_name_2(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).name = (System.String)v;
        }

        static StackObject* AssignFromStack_name_2(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @name = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.Core.HGUI.UIElement)o).name = @name;
            return ptr_of_this_method;
        }

        static object get_localPosition_3(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).localPosition;
        }

        static StackObject* CopyToStack_localPosition_3(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).localPosition;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_localPosition_3(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).localPosition = (UnityEngine.Vector3)v;
        }

        static StackObject* AssignFromStack_localPosition_3(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.Vector3 @localPosition = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            ((huqiang.Core.HGUI.UIElement)o).localPosition = @localPosition;
            return ptr_of_this_method;
        }

        static object get_localScale_4(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).localScale;
        }

        static StackObject* CopyToStack_localScale_4(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).localScale;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_localScale_4(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).localScale = (UnityEngine.Vector3)v;
        }

        static StackObject* AssignFromStack_localScale_4(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.Vector3 @localScale = (UnityEngine.Vector3)typeof(UnityEngine.Vector3).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            ((huqiang.Core.HGUI.UIElement)o).localScale = @localScale;
            return ptr_of_this_method;
        }

        static object get_localRotation_5(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).localRotation;
        }

        static StackObject* CopyToStack_localRotation_5(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).localRotation;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_localRotation_5(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).localRotation = (UnityEngine.Quaternion)v;
        }

        static StackObject* AssignFromStack_localRotation_5(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.Quaternion @localRotation = (UnityEngine.Quaternion)typeof(UnityEngine.Quaternion).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            ((huqiang.Core.HGUI.UIElement)o).localRotation = @localRotation;
            return ptr_of_this_method;
        }

        static object get_child_6(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).child;
        }

        static StackObject* CopyToStack_child_6(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).child;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_child_6(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).child = (System.Collections.Generic.List<huqiang.Core.HGUI.UIElement>)v;
        }

        static StackObject* AssignFromStack_child_6(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Collections.Generic.List<huqiang.Core.HGUI.UIElement> @child = (System.Collections.Generic.List<huqiang.Core.HGUI.UIElement>)typeof(System.Collections.Generic.List<huqiang.Core.HGUI.UIElement>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.Core.HGUI.UIElement)o).child = @child;
            return ptr_of_this_method;
        }

        static object get_Pivot_7(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).Pivot;
        }

        static StackObject* CopyToStack_Pivot_7(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).Pivot;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Pivot_7(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).Pivot = (UnityEngine.Vector2)v;
        }

        static StackObject* AssignFromStack_Pivot_7(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.Vector2 @Pivot = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            ((huqiang.Core.HGUI.UIElement)o).Pivot = @Pivot;
            return ptr_of_this_method;
        }

        static object get_scaleType_8(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).scaleType;
        }

        static StackObject* CopyToStack_scaleType_8(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).scaleType;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_scaleType_8(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).scaleType = (global::ScaleType)v;
        }

        static StackObject* AssignFromStack_scaleType_8(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            global::ScaleType @scaleType = (global::ScaleType)typeof(global::ScaleType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            ((huqiang.Core.HGUI.UIElement)o).scaleType = @scaleType;
            return ptr_of_this_method;
        }

        static object get_anchorType_9(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).anchorType;
        }

        static StackObject* CopyToStack_anchorType_9(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).anchorType;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_anchorType_9(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).anchorType = (global::AnchorType)v;
        }

        static StackObject* AssignFromStack_anchorType_9(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            global::AnchorType @anchorType = (global::AnchorType)typeof(global::AnchorType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            ((huqiang.Core.HGUI.UIElement)o).anchorType = @anchorType;
            return ptr_of_this_method;
        }

        static object get_anchorPointType_10(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).anchorPointType;
        }

        static StackObject* CopyToStack_anchorPointType_10(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).anchorPointType;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_anchorPointType_10(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).anchorPointType = (global::AnchorPointType)v;
        }

        static StackObject* AssignFromStack_anchorPointType_10(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            global::AnchorPointType @anchorPointType = (global::AnchorPointType)typeof(global::AnchorPointType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            ((huqiang.Core.HGUI.UIElement)o).anchorPointType = @anchorPointType;
            return ptr_of_this_method;
        }

        static object get_anchorOffset_11(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).anchorOffset;
        }

        static StackObject* CopyToStack_anchorOffset_11(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).anchorOffset;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_anchorOffset_11(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).anchorOffset = (UnityEngine.Vector2)v;
        }

        static StackObject* AssignFromStack_anchorOffset_11(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            UnityEngine.Vector2 @anchorOffset = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            ((huqiang.Core.HGUI.UIElement)o).anchorOffset = @anchorOffset;
            return ptr_of_this_method;
        }

        static object get_marginType_12(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).marginType;
        }

        static StackObject* CopyToStack_marginType_12(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).marginType;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_marginType_12(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).marginType = (global::MarginType)v;
        }

        static StackObject* AssignFromStack_marginType_12(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            global::MarginType @marginType = (global::MarginType)typeof(global::MarginType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            ((huqiang.Core.HGUI.UIElement)o).marginType = @marginType;
            return ptr_of_this_method;
        }

        static object get_parentType_13(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).parentType;
        }

        static StackObject* CopyToStack_parentType_13(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).parentType;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_parentType_13(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).parentType = (global::ParentType)v;
        }

        static StackObject* AssignFromStack_parentType_13(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            global::ParentType @parentType = (global::ParentType)typeof(global::ParentType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            ((huqiang.Core.HGUI.UIElement)o).parentType = @parentType;
            return ptr_of_this_method;
        }

        static object get_margin_14(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).margin;
        }

        static StackObject* CopyToStack_margin_14(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).margin;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_margin_14(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).margin = (global::Margin)v;
        }

        static StackObject* AssignFromStack_margin_14(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            global::Margin @margin = (global::Margin)typeof(global::Margin).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            ((huqiang.Core.HGUI.UIElement)o).margin = @margin;
            return ptr_of_this_method;
        }

        static object get_eventType_15(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).eventType;
        }

        static StackObject* CopyToStack_eventType_15(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).eventType;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_eventType_15(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).eventType = (huqiang.Core.UIData.HEventType)v;
        }

        static StackObject* AssignFromStack_eventType_15(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Core.UIData.HEventType @eventType = (huqiang.Core.UIData.HEventType)typeof(huqiang.Core.UIData.HEventType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            ((huqiang.Core.HGUI.UIElement)o).eventType = @eventType;
            return ptr_of_this_method;
        }

        static object get_compositeType_16(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).compositeType;
        }

        static StackObject* CopyToStack_compositeType_16(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).compositeType;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_compositeType_16(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).compositeType = (huqiang.Core.UIData.CompositeType)v;
        }

        static StackObject* AssignFromStack_compositeType_16(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Core.UIData.CompositeType @compositeType = (huqiang.Core.UIData.CompositeType)typeof(huqiang.Core.UIData.CompositeType).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)20);
            ((huqiang.Core.HGUI.UIElement)o).compositeType = @compositeType;
            return ptr_of_this_method;
        }

        static object get_Mask_17(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).Mask;
        }

        static StackObject* CopyToStack_Mask_17(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).Mask;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_Mask_17(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).Mask = (System.Boolean)v;
        }

        static StackObject* AssignFromStack_Mask_17(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @Mask = ptr_of_this_method->Value == 1;
            ((huqiang.Core.HGUI.UIElement)o).Mask = @Mask;
            return ptr_of_this_method;
        }

        static object get_userEvent_18(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).userEvent;
        }

        static StackObject* CopyToStack_userEvent_18(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).userEvent;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_userEvent_18(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).userEvent = (huqiang.UIEvent.UserEvent)v;
        }

        static StackObject* AssignFromStack_userEvent_18(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.UIEvent.UserEvent @userEvent = (huqiang.UIEvent.UserEvent)typeof(huqiang.UIEvent.UserEvent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.Core.HGUI.UIElement)o).userEvent = @userEvent;
            return ptr_of_this_method;
        }

        static object get_composite_19(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).composite;
        }

        static StackObject* CopyToStack_composite_19(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).composite;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_composite_19(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).composite = (huqiang.UIComposite.Composite)v;
        }

        static StackObject* AssignFromStack_composite_19(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.UIComposite.Composite @composite = (huqiang.UIComposite.Composite)typeof(huqiang.UIComposite.Composite).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.Core.HGUI.UIElement)o).composite = @composite;
            return ptr_of_this_method;
        }

        static object get_mod_20(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).mod;
        }

        static StackObject* CopyToStack_mod_20(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).mod;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_mod_20(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).mod = (huqiang.Data.FakeStruct)v;
        }

        static StackObject* AssignFromStack_mod_20(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.Data.FakeStruct @mod = (huqiang.Data.FakeStruct)typeof(huqiang.Data.FakeStruct).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.Core.HGUI.UIElement)o).mod = @mod;
            return ptr_of_this_method;
        }

        static object get_DataContext_21(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).DataContext;
        }

        static StackObject* CopyToStack_DataContext_21(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).DataContext;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance, true);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method, true);
        }

        static void set_DataContext_21(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).DataContext = (System.Object)v;
        }

        static StackObject* AssignFromStack_DataContext_21(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Object @DataContext = (System.Object)typeof(System.Object).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.Core.HGUI.UIElement)o).DataContext = @DataContext;
            return ptr_of_this_method;
        }

        static object get_SizeChanged_22(ref object o)
        {
            return ((huqiang.Core.HGUI.UIElement)o).SizeChanged;
        }

        static StackObject* CopyToStack_SizeChanged_22(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.Core.HGUI.UIElement)o).SizeChanged;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_SizeChanged_22(ref object o, object v)
        {
            ((huqiang.Core.HGUI.UIElement)o).SizeChanged = (System.Action<huqiang.Core.HGUI.UIElement>)v;
        }

        static StackObject* AssignFromStack_SizeChanged_22(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Action<huqiang.Core.HGUI.UIElement> @SizeChanged = (System.Action<huqiang.Core.HGUI.UIElement>)typeof(System.Action<huqiang.Core.HGUI.UIElement>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)8);
            ((huqiang.Core.HGUI.UIElement)o).SizeChanged = @SizeChanged;
            return ptr_of_this_method;
        }



        static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new huqiang.Core.HGUI.UIElement();

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }


    }
}
